package bucephal.game.economy.resources;

import bucephal.game.economy.Money;
import bucephal.game.economy.resources.energy.Energy;

public enum Resource {
	WATTER	(1, new Money(10), null),
	SILVER	(5, new Money(50), null),
	GOLD	(10, new Money(100), null),
	URANIUM	(50, new Money(500), Energy.NUCLEAR);
	
	
	// value of the resource
	// an abstract number that represents the value of a specific resource
	// the greater the value the longer and harder it will be to acquire that
	// particular resource
	private final int resourceValue;
	
	// cost of the resource
	// e.g. if price is 100 for a resource,  such GOLD,
	// then it means that the cost of 1 GOLD is 100 Money
	private final Money price;
	
	// (energyValue) X (resourceValue) = (amount of energy that can be produced from this resource)
	private final Energy energyType;
		
	Resource(int resourceValue, Money resourcePrice, Energy energyType) {
		this.resourceValue = resourceValue;
		this.price = resourcePrice;
		this.energyType = energyType;	
	}
}
